Federico Mena Quintero [Mon, 15 Jun 2009 17:37:07 +0000 (12:37 -0500)]
bgo#580560 - Make Backspace work in the file chooser to to to the parent directory
GtkFileChooserDefault actually implements a binding signal for
Backspace, to make it go to the parent directory. However,
GtkTreeView was eating our Backspace, and thus the file chooser was
not getting a chance to execute its binding signal.
GtkTreeView implements a Backspace binding itself, which it uses to
move to the parent node of the current cursor node. However, the
binding handler would return TRUE even if there was no parent to the
current node. Now the binding handler only returns TRUE if it
actually changed the cursor.
Additionally, gtk_tree_view_key_press() sees if no bindings handled a
key press; in that case, it re-sends the key press to the treeview's
search entry. However, sending a Backspace to an empty entry makes
the entry beep. Thus, we add a flag that gets set from GtkTreeView's
Backspace binding handler, to tell gtk_tree_view_key_press() when it
should *not* re-emit the key press on the search entry. Sort of,
"yeah, I didn't handle this key press, but I don't want you to send it
to the search entry, either!".
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Matthias Clasen [Mon, 15 Jun 2009 05:50:27 +0000 (01:50 -0400)]
Add entry about xdg user dir icons
Davyd Madeley [Mon, 15 Jun 2009 01:48:14 +0000 (09:48 +0800)]
Merge branch 'button-box-orientable-584598'
Davyd Madeley [Tue, 2 Jun 2009 12:01:19 +0000 (20:01 +0800)]
Support GtkOrientable for GtkButtonBox
Edit: Update for coding style
Davyd Madeley [Tue, 2 Jun 2009 10:58:10 +0000 (18:58 +0800)]
Testcase for GtkOrientable
Jorge Gonzalez [Sat, 13 Jun 2009 11:21:01 +0000 (13:21 +0200)]
Updated Spanish translation
Benjamin Gramlich [Fri, 12 Jun 2009 22:31:28 +0000 (17:31 -0500)]
bgo#484922 - Remember the sort column and order in the file chooser
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Benjamin Gramlich [Fri, 12 Jun 2009 21:40:25 +0000 (16:40 -0500)]
Add load/save functions for the sort column order in GtkFileChooserSettings
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Fri, 12 Jun 2009 19:09:47 +0000 (14:09 -0500)]
Add an --initial-folder option to testfilechooser.c
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Fri, 12 Jun 2009 19:02:37 +0000 (14:02 -0500)]
Add an --initial-filename option to testfilechooser.c
We can use this to test bugs that happen when setting a filename before the
file chooser is shown, as in bgo#161670
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Fri, 12 Jun 2009 18:59:29 +0000 (13:59 -0500)]
Fix compiler warnings
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Milan Bouchet-Valat [Fri, 12 Jun 2009 18:25:26 +0000 (13:25 -0500)]
bgo#562579 - Don't show errors when the initial folder does not exist
The previous patch for this bug was about the initial *file* not existing,
but this also handles the initial *folder* not existing
(such as /usr/nonexistent/nonexistent.txt).
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Milan Bouchet-Valat [Fri, 12 Jun 2009 16:45:43 +0000 (11:45 -0500)]
bgo#171416 - Don't create a folder with the default name 'Type name of new folder'
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Matthias Clasen [Fri, 12 Jun 2009 14:21:42 +0000 (10:21 -0400)]
Add a missing newline
There was a missing newline in one of the g_printerr messages
in updateiconcache.c. String change.
Milan Bouchet-Valat [Fri, 12 Jun 2009 00:58:51 +0000 (19:58 -0500)]
bgo#355851 - Hide backup files in the file chooser
Backup files are hidden along with dotfiles, just like Nautilus.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Milan Bouchet-Valat [Thu, 11 Jun 2009 23:41:05 +0000 (18:41 -0500)]
bgo#486839 - The path bar's area shouldn't change vertical size to avoid the browse widgets jumping
We now use a GtkSizeGroup to control the vertical size of the various widgets
that get put in the path bar's area: the location bar, the search entry,
the recently-used title label.
This keeps the shortcuts pane and the file list from jumping up and down
when one switches between operation modes (browse/search/recently-used).
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Jorge Gonzalez [Thu, 11 Jun 2009 07:24:31 +0000 (09:24 +0200)]
Updated Spanish translation
Jorge Gonzalez [Thu, 11 Jun 2009 07:24:26 +0000 (09:24 +0200)]
Updated Spanish translation
Matthias Clasen [Thu, 11 Jun 2009 05:28:39 +0000 (01:28 -0400)]
Add a long description for GtkSettings
Among other things, the description mentions the problem in
bug 585024, that some settings may not be available before the
widget class has been realized.
Manoj Kumar Giri [Wed, 10 Jun 2009 14:23:08 +0000 (19:53 +0530)]
Added entries for Hindi Translation updated by Rajesh Ranjan
Manoj Kumar Giri [Wed, 10 Jun 2009 14:21:40 +0000 (19:51 +0530)]
Updated Hindi Translation on behalf of Rajesh Ranjan
Kjartan Maraas [Wed, 10 Jun 2009 07:50:37 +0000 (09:50 +0200)]
Updated Norwegian bokmål translation.
Ivar Smolin [Tue, 9 Jun 2009 20:00:46 +0000 (23:00 +0300)]
Updating Estonian translation
Christian Persch [Sun, 7 Jun 2009 20:06:51 +0000 (22:06 +0200)]
Fix "srdcir" typo
Runa Bhattacharjee [Tue, 9 Jun 2009 04:54:18 +0000 (10:24 +0530)]
Updated Bengali India Translations
Matthias Clasen [Mon, 8 Jun 2009 13:54:59 +0000 (09:54 -0400)]
Update docs to match actual API
Remove references to gtk_info_bar_set_contents(), and update
the example to use gtk_info_bar_get_content_area().
Manoj Kumar Giri [Mon, 8 Jun 2009 14:05:26 +0000 (19:35 +0530)]
Updated Oriya Translation
Marek Kasik [Mon, 8 Jun 2009 13:37:32 +0000 (15:37 +0200)]
Add ability to print selection
Add a new radio button "Selection" to the print dialog. Its presence
depends on calling of functions gtk_print_operation_set_support_selection()
and gtk_print_dialog_unix_set_support_selection().
Sensitivity of the radio depends on calling of
functions gtk_print_operation_set_has_selection() and
gtk_print_dialog_unix_set_has_selection().
There are new properties GtkPrintUnixDialog::support-selection,
GtkPrintUnixDialog::has-selection, GtkPrintOperation::support-selection
and GtkPrintOperation::has-selection. Corresponding getters are
gtk_print_dialog_unix_get_support_selection(),
gtk_print_dialog_unix_get_has_selection(),
gtk_print_operation_get_support_selection() and
gtk_print_operation_get_has_selection().
Application has to set number of pages to which the selection will be formated
in GtkPrintOperation::begin-print's callback by the
gtk_print_operation_set_n_pages() function (bug #344519).
There is also new property GtkPrintUnixDialog::manual-capabilities controled by
gtk_print_unix_dialog_set_manual_capabilities() and
gtk_print_unix_dialog_get_manual_capabilities().
Mattias Põldaru [Mon, 8 Jun 2009 08:52:27 +0000 (11:52 +0300)]
Updating Estonian translation
Matthias Clasen [Mon, 8 Jun 2009 02:19:52 +0000 (22:19 -0400)]
Don't grab the keyboard during DND
Instead use passive grabs for the few keys we care about.
With a corresponding metacity change, this will allow workspace
switching and focus cycling during DND, which is very useful.
Fixes bug 390312.
Björn Lindqvist [Sat, 30 May 2009 13:45:21 +0000 (15:45 +0200)]
Halt configure if selected cairo backend is missing, fixes Bug 565998
Matthias Clasen [Sat, 6 Jun 2009 03:06:12 +0000 (23:06 -0400)]
Remove nonworking conditionals
Don't pretend that we care about XShape-less builds anymore.
See bug 584637.
Matthias Clasen [Sat, 6 Jun 2009 02:36:48 +0000 (22:36 -0400)]
Avoid warnings in atom conversion
Cave in and revert to silently converting GDK_NONE to None.
Fixes bug 580511.
Matthias Clasen [Sat, 6 Jun 2009 00:11:44 +0000 (20:11 -0400)]
Don't unselect when resizing
This was causing problems in Epiphany. Fixes bug 584805.
Matthias Clasen [Fri, 5 Jun 2009 19:01:00 +0000 (15:01 -0400)]
Update NEWS for GtkInfoBar
Matthias Clasen [Fri, 5 Jun 2009 18:56:08 +0000 (14:56 -0400)]
Add a message area widget
It is called GtkInfoBar. See bug 555344.
Denis Chertykov [Fri, 5 Jun 2009 19:07:10 +0000 (14:07 -0500)]
bgo#327152 - Ellipsize long directory names in GtkPathBar, and better layout for the pathbar
Ellipsize labels in the Save folder's combo so they don't grow too wide.
Ellipsize labels in normal directory buttons in the pathbar, and make
their requisition's width reasonably small. Use a tooltip for buttons
that got ellipsized.
Instead of placing the down-slider directly beside the last button in
the pathbar, use the remaining space in the pathbar for the last
button. Use a different method to find the first visible button.
Walk down from the end, adding buttons until we use all free space.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Og Maciel [Fri, 5 Jun 2009 16:16:57 +0000 (12:16 -0400)]
Updated Brazilian Portuguese translaiton. Fixes b.g.o. #584922
Brian Cameron [Fri, 5 Jun 2009 05:42:01 +0000 (00:42 -0500)]
Improve Solaris Xinerama configure detection
The latest releases of Solaris now ship with the X.org Xserver, so it is
better to use the Xfree Xinerama interfaces if available. This commit fixes
the configure script so that it first tries to use the Xfree interfaces and
only falls back to the Solaris-specific interfaces if they are not available.
This way, older releases of Solaris which do not use X.org also will work.
(Bug 580079)
Marek Kasik [Thu, 4 Jun 2009 16:49:29 +0000 (18:49 +0200)]
Print in correct order when printing 4 pages per sheet to landscape
Rotates page layout according to selected paper orientation
when printing through CUPS backend (#420335).
Praveen Arimbrathodiyil [Tue, 2 Jun 2009 06:38:22 +0000 (23:38 -0700)]
important transltion fixes to undo, redo and about
Matthias Clasen [Sun, 31 May 2009 03:26:37 +0000 (23:26 -0400)]
Improve GtkMenuPositionFunc docs
Add a note about gtk_menu_set_monitor().
Ask H. Larsen [Sat, 30 May 2009 20:16:31 +0000 (22:16 +0200)]
Updated Danish translation
Matthias Clasen [Sat, 30 May 2009 06:14:03 +0000 (02:14 -0400)]
Avoid assertions due to invalid page sequence
It is much nicer to handle this gracefully in compute_last_button_state.
Fixes bug 584125.
Cody Russell [Sat, 30 May 2009 04:10:14 +0000 (00:10 -0400)]
Improve GtkEntry handling of invalid stock ids
Instead of silently showing no icon, show a "missing image"
icon, like GtkImage does in the same situation. Fixes bug 579590.
Caolan McNamara [Sat, 30 May 2009 04:05:35 +0000 (00:05 -0400)]
Plug a memory leak in Xrandr code
Matthias Clasen [Fri, 29 May 2009 23:46:56 +0000 (19:46 -0400)]
Bump version to 2.17.2
Matthias Clasen [Fri, 29 May 2009 23:29:49 +0000 (19:29 -0400)]
2.17.1
Matthias Clasen [Fri, 29 May 2009 22:47:23 +0000 (18:47 -0400)]
Fix a typo in the ::update-custom-widget docs
Matthias Clasen [Fri, 29 May 2009 22:40:10 +0000 (18:40 -0400)]
Fix a typo in the docs
Matthias Clasen [Fri, 29 May 2009 21:26:32 +0000 (17:26 -0400)]
Update for 2.17.1
Eitan Isaacson [Fri, 29 May 2009 10:50:00 +0000 (12:50 +0200)]
Fix GtkAssistant's accessible children. Fixes bug #575319.
Lebedev Roman [Mon, 25 May 2009 22:49:34 +0000 (02:49 +0400)]
Updated Russian translation
Seán de Búrca [Mon, 25 May 2009 18:49:55 +0000 (19:49 +0100)]
Updated Irish translation
Lin Ma [Mon, 25 May 2009 02:01:04 +0000 (10:01 +0800)]
Fix GtkTooltip destroy the custom widget
Fixed 576091, Custom_widget does not get destroyed when the tooltip
goes away. Add a release note for this fix.
Seán de Búrca [Sun, 24 May 2009 23:33:42 +0000 (00:33 +0100)]
Updated Irish translation
Matthias Clasen [Sun, 24 May 2009 04:30:58 +0000 (00:30 -0400)]
Avoid another case of treating None as an atom
Matthias Clasen [Sun, 24 May 2009 04:17:49 +0000 (00:17 -0400)]
Fix a formatting error in the docs
Need to replace % by %amp; in examples. This was noticed in
bug 583522.
Claude Paroz [Sat, 23 May 2009 17:03:31 +0000 (19:03 +0200)]
Updated French translation
Carlos Garcia Campos [Sun, 17 May 2009 18:02:13 +0000 (20:02 +0200)]
Fix a crash when printing with defer drawing enabled
Fixes bgo#582963
Matthias Clasen [Sat, 23 May 2009 05:20:39 +0000 (01:20 -0400)]
Improve gtk_combo_box_get_active_text() docs
Make it more explicit that the return value needs to be freed.
Fixes bug 583050.
James Andrewartha [Thu, 21 May 2009 05:48:46 +0000 (13:48 +0800)]
add missing include $(top_srcdir)/git.mk to modules/papi/Makefile.am
Signed-off-by: Davyd Madeley <davyd@madeley.id.au>
Stefan Kost [Wed, 20 May 2009 11:27:36 +0000 (14:27 +0300)]
docs: document the GtkUpdateType enum.
Add documentation based on the description from gtk_range_set_update_policy()
mark@ecs.vuw.ac.nz [Tue, 19 May 2009 14:08:21 +0000 (16:08 +0200)]
Signalize that CUPS connection is available when EISCONN occurs
Add test for EISCONN error when testing whether a connection to CUPS server
is available (#576678 - patch by mark@ecs.vuw.ac.nz).
Signed-off-by: Marek Kasik <mkasik@redhat.com>
Davyd Madeley [Tue, 19 May 2009 08:31:52 +0000 (16:31 +0800)]
Add papi to DIST_SUBDIRS
Davyd Madeley [Tue, 19 May 2009 07:32:10 +0000 (15:32 +0800)]
Merge commit 'origin/master'
Davyd Madeley [Tue, 19 May 2009 07:29:53 +0000 (15:29 +0800)]
Fix broken SGML in gtk reference.
Introduced in commit
9dbb30482b11075045e7624df7c771cb3fc1503f
Alexander Shopov [Tue, 19 May 2009 04:54:51 +0000 (07:54 +0300)]
Updated Bulgarian translation
Carlos Garcia Campos [Sun, 17 May 2009 16:11:46 +0000 (18:11 +0200)]
Use nr_of_pages_to_print instead of nr_of_pages when updating printing progress
Fixes bgo#582950.
Matthias Clasen [Mon, 18 May 2009 03:43:26 +0000 (23:43 -0400)]
Improve GtkNotbook behaviour with too little space
This fixes bug 582488. The patch was provided by Morten Welinder.
Davyd Madeley [Mon, 18 May 2009 02:46:42 +0000 (10:46 +0800)]
Fix broken compile: s/gtk_selection_atom/gtk_selection_atoms
Introduced in
94b63ec9b7791036b0b09d4c2059059a1d7e9695
Matthias Clasen [Sun, 17 May 2009 22:35:51 +0000 (18:35 -0400)]
Avoid a warning when persisting clipboards
Correctly handle conversion to SAVE_TARGETS as a side-effect target
with no side-effect, by returning a zero-sized property of type NULL.
See section 2.6.3 of the ICCCM.
Matthias Clasen [Sun, 17 May 2009 22:34:21 +0000 (18:34 -0400)]
Avoid warnings when handling SelectionNotify
The property field in SelectionNotify events may be None instead
of an atom.
Ask H. Larsen [Sun, 17 May 2009 23:54:21 +0000 (01:54 +0200)]
Updated Danish translation
Jorge Gonzalez [Sun, 17 May 2009 19:46:31 +0000 (21:46 +0200)]
Updated Spanish translation
Martin Nordholts [Fri, 15 May 2009 19:29:25 +0000 (21:29 +0200)]
Avoid memory corruption on complicated confirm-overwrite logic
Dup the file chooser entry string because the string may be modified
depending on what clients do in the confirm-overwrite signal and this
corrupts the pointer.
Marek Kasik [Wed, 13 May 2009 16:28:42 +0000 (18:28 +0200)]
Add ability to print in number-up mode for file backend and lpr backend
GtkPrintOperation is now able to render multiple pages per sheet by its
own. The most important changes are in these functions:
* increment_page_sequence
* prepare_data
* common_render_page
* print_pages_idle
Patch also changes set of choices for 2 pages per sheet mode when
landscape orientation is used to "Top to bottom" and "Bottom to top".
Federico Mena Quintero [Wed, 13 May 2009 00:13:33 +0000 (19:13 -0500)]
Merge fix for bgo#315462 - Make GtkLabel deal with too-small height allocations gracefully
Merge branch 'gtk-2-16'
Federico Mena Quintero [Wed, 13 May 2009 00:12:55 +0000 (19:12 -0500)]
bgo#315462 - Make GtkLabel deal with too-small height allocations gracefully
Previously we would always align the top of the text with the label's allocation-plus-padding.
However, this makes a single-line label inside a GtkButton look badly clipped when the button
has a smaller allocation than its requisition. So, for single-line labels we respect the
alignment even if it doesn't fit within the label's allocation. But for multi-line labels, we
give preference to showing the first line, to give the user some context.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Federico Mena Quintero [Tue, 12 May 2009 18:50:45 +0000 (13:50 -0500)]
Merge fix for bgo#463773 - Handle a NULL display in gtk_clipboard_get_for_display() so Flash won't hang
Federico Mena Quintero [Tue, 12 May 2009 18:44:04 +0000 (13:44 -0500)]
bgo#463773 - Handle a NULL display in gtk_clipboard_get_for_display() so Flash won't hang
gheet [Mon, 11 May 2009 17:33:08 +0000 (18:33 +0100)]
Adding PAPI printbackend
Adding a new print backend module using libpapi detals see GNOME#382676.
(gheet)
Matthias Clasen [Sun, 10 May 2009 06:08:41 +0000 (02:08 -0400)]
Avoid unintended side-effect in gdk_window_get_events
Calling gdk_window_get_events() had the side-effect of letting
property change notification through to the application, which
was not intended. Now we keep StructureNotify and PropertyNotify
filtered out when they were before. Reported in bug 582003.
Matthias Clasen [Sun, 10 May 2009 05:54:43 +0000 (01:54 -0400)]
Don't enforce property change events on the root window
The code in gdk_x11_window_set_events is only meant to enforce
property change events on child windows. Pointed out in bug 531490.
Matthias Clasen [Mon, 11 May 2009 16:02:06 +0000 (12:02 -0400)]
Make gtk-update-icon-cache not fall over leftover temp files
When called with the --force option, try to remove the .icon-theme.cache
file before giving up. This fixes rh#500163.
Matthias Clasen [Mon, 11 May 2009 16:02:06 +0000 (12:02 -0400)]
Make gtk-update-icon-cache not fall over leftover temp files
When called with the --force option, try to remove the .icon-theme.cache
file before giving up. This fixes rh#500163.
Tobias Mueller [Fri, 8 May 2009 14:57:48 +0000 (16:57 +0200)]
Removed deprecated call to gtk_scale_button_get_orientation
and use gtk_orientable_set_orientation instead.
Fixes bug 581878.
Tobias Mueller [Fri, 8 May 2009 14:40:41 +0000 (16:40 +0200)]
Replaced deprecated call to gtk_action_connect_proxy with call to gtk_activatable_set_related_action
Fixes bug 581876.
Matthias Clasen [Mon, 11 May 2009 06:44:12 +0000 (02:44 -0400)]
Add a separate keybinding signal for activating links
Keeping the keybinding signal and the regular signal separate is
cleaner and allows us to pass the uri as a parameter to the
activate-link signal.
Matthias Clasen [Mon, 11 May 2009 06:08:32 +0000 (02:08 -0400)]
Add a migration chapter for label links
Matthias Clasen [Mon, 11 May 2009 05:31:14 +0000 (01:31 -0400)]
Mention url label support in NEWS
Matthias Clasen [Mon, 11 May 2009 05:23:13 +0000 (01:23 -0400)]
Add link support to GtkLabel
This patch is based on SexyUrlLabel, but with significantly enhanced
functionality: keynav, tooltips, context menu, theming.
Matthias Clasen [Sun, 10 May 2009 06:08:41 +0000 (02:08 -0400)]
Avoid unintended side-effect in gdk_window_get_events
Calling gdk_window_get_events() had the side-effect of letting
property change notification through to the application, which
was not intended. Now we keep StructureNotify and PropertyNotify
filtered out when they were before. Reported in bug 582003.
Matthias Clasen [Sun, 10 May 2009 05:54:43 +0000 (01:54 -0400)]
Don't enforce property change events on the root window
The code in gdk_x11_window_set_events is only meant to enforce
property change events on child windows. Pointed out in bug 531490.
Marios Zindilis [Sat, 9 May 2009 13:16:28 +0000 (14:16 +0100)]
Updated Greek translation
Marios Zindilis [Sat, 9 May 2009 13:15:33 +0000 (14:15 +0100)]
Updated Greek translation
Ivar Smolin [Fri, 8 May 2009 17:17:25 +0000 (20:17 +0300)]
Updating Estonian translation
Christian Kirbach [Wed, 6 May 2009 11:33:31 +0000 (13:33 +0200)]
Updated German translation.
Christian Kirbach [Wed, 6 May 2009 11:11:12 +0000 (13:11 +0200)]
Updated German translation.
Christian Kirbach [Wed, 6 May 2009 11:06:32 +0000 (13:06 +0200)]
Updated German translation.